









package com.company.z7.jiegouleiPK.decorator_vs_adapter.src.com.company.adapter;

/**
 * @author cbf4Life cbf4life@126.com
 * I'm glad to share my knowledge with you all.
 */
public class Client {
	
	public static void main(String[] args) {
		
		System.out.println("===������������ӣ������ĸ�ģ���������ģ�===");
		Duck duck = new Duckling();
		duck.cry();  
		duck.desAppearance(); 
		duck.desBehavior(); 
		System.out.println("\n===һֻ���ص�СѼ�ӣ�ģ���������ģ�===");
		Duck uglyDuckling = new UglyDuckling();
		uglyDuckling.cry(); 
		uglyDuckling.desAppearance(); 
		uglyDuckling.desBehavior(); 
	}
}